package com.zc.app.service.impl;


import com.zc.app.entity.User;
import com.zc.app.service.UserService;
import com.zc.system.rpc.annotation.RPCService;

/**
 * @author zc
 */
@RPCService(UserService.class)
public class UserServiceImpl implements UserService {

    @Override
    public User getUser(String phone) {
        User user =new User(111,"test",phone);
        return user;
    }

    @Override
    public User updateUser(User user) {
        user.setName("test@update");
        return user;
    }
}
